API

Finance APIs

GET finance/bank-statements

List of bank statements

HTTP method GET
URI https://api.rambase.net/finance/bank-statements
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 495, version 21

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

Attention() Named filter Bank statement that need attention (status less than 8)
Confirmed() Named filter Confirmed bank statements (status 9)
Deviations() Named filter Bank statements with deviations
Reconciled() Named filter Reconciled bank statements (status equal 8)
BankAccountId Integer Bank account identifier.
BankAccountNumber String Account number used to identify the bank account.
BankAmount Decimal Total transaction amount.
BankStatementId Integer Bank statement identifier.
BookingDate Date Booking date of the bank statement. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ClosingBalance Decimal Closing balance of bank statement.
DeviationAmount Decimal Total deviation amount.
ErrorMessage String Shows a message of validation error for this document.
IsExcludedFromAutomaticReconciliation Boolean Indicates if the bank statement should be excluded from automatic reconciliation.
OpeningBalance Decimal Opening balance of bank statement.
PaymentAmount Decimal Total payment amount.
SortIndex Integer Sorting index of bank statement.
Status Integer Status of bank statement.

Read more about filters and sorting on how to use sortable parameters

BankAccountId Integer Bank account identifier
BankAccountNumber String Account number used to identify the bank account
BankAmount Decimal Total transaction amount
BankStatementId Integer Bank statement identifier
BookingDate Date Booking date of the bank statement
ClosingBalance Decimal Closing balance of bank statement
DeviationAmount Decimal Total deviation amount
ErrorMessage String Shows a message of validation error for this document
IsExcludedFromAutomaticReconciliation Boolean Indicates if the bank statement should be excluded from automatic reconciliation
OpeningBalance Decimal Opening balance of bank statement
PaymentAmount Decimal Total payment amount
SortIndex Integer Sorting index of bank statement
Status Integer Status of bank statement

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<BankStatements>
2
     <BankStatement>
3
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
4
          <BankStatementId
BankStatementId

Bank statement identifier

>
{Integer}</BankStatementId>
5
          <Status
Status

Status of bank statement

Possible domain values can be found here

>
{Integer}</Status>
6
          <BookingDate
BookingDate

Booking date of the bank statement

>
{Date}</BookingDate>
7
          <ErrorMessage
ErrorMessage

Shows a message of validation error for this document

Possible domain values can be found here

>
{String}</ErrorMessage>
8
          <SortIndex
SortIndex

Sorting index of bank statement

>
{Integer}</SortIndex>
9
          <IsExcludedFromAutomaticReconciliation
IsExcludedFromAutomaticReconciliation

Indicates if the bank statement should be excluded from automatic reconciliation

>
{Boolean}</IsExcludedFromAutomaticReconciliation>
10
          <BankAccount>
11
               <BankAccountId
BankAccountId

Bank account identifier

>
{Integer}</BankAccountId>
12
               <Name
Name

Name of bank account

>
{String}</Name>
13
               <AccountNumber
AccountNumber

Account number used to identify the bank account

>
{String}</AccountNumber>
14
               <Currency
Currency

Currency used for the bank account

>
{String}</Currency>
15
               <BankAccountLink
BankAccountLink

Bank reference

>
{String}</BankAccountLink>
16
          </BankAccount>
17
          <AccountingPeriod>
18
               <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
19
               <Period
Period

Accounting period

>
{Integer}</Period>
20
               <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
21
          </AccountingPeriod>
22
          <CreatedBy>
23
               <UserId
UserId

User identifier

>
{Integer}</UserId>
24
               <LastName
LastName

Last name of employee

>
{String}</LastName>
25
               <FirstName
FirstName

First name of employee

>
{String}</FirstName>
26
               <UserLink
UserLink

User reference

>
{String}</UserLink>
27
          </CreatedBy>
28
          <Totals>
29
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
30
               <OpeningBalance
OpeningBalance

Opening balance of bank statement

>
{Decimal}</OpeningBalance>
31
               <ClosingBalance
ClosingBalance

Closing balance of bank statement

>
{Decimal}</ClosingBalance>
32
               <BankAmount
BankAmount

Total transaction amount

>
{Decimal}</BankAmount>
33
               <PaymentAmount
PaymentAmount

Total payment amount

>
{Decimal}</PaymentAmount>
34
               <DeviationAmount
DeviationAmount

Total deviation amount

>
{Decimal}</DeviationAmount>
35
               <NotReconciledAmount
NotReconciledAmount

Amount of bank statement transactions which are not reconciled

>
{Decimal}</NotReconciledAmount>
36
          </Totals>
37
          <RamBaseTotals
RamBaseTotals

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

>
38
               <OpeningBalance
OpeningBalance

Opening balance of payments amount.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

>
{Decimal}</OpeningBalance>
39
               <ClosingBalance
ClosingBalance

Closing balance of payments amount.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

>
{Decimal}</ClosingBalance>
40
               <Amount
Amount

Payments total.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

>
{Decimal}</Amount>
41
          </RamBaseTotals>
42
          <BankStatementLink
BankStatementLink

Bank statement reference

>
{String}</BankStatementLink>
43
     </BankStatement>
44
     <Paging
Paging

Detailed paging information for this list.

>
45
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
46
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
47
          <Page
Page

Page index

>
{Integer}</Page>
48
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
49
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
50
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
51
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
52
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
53
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
54
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
55
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
56
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
57
     </Paging>
58
</BankStatements>
1
{
2
     "bankStatements": [
3
          {
4
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
5
               "bankStatementId
BankStatementId

Bank statement identifier

":
"{Integer}",
6
               "status
Status

Status of bank statement

Possible domain values can be found here

":
"{Integer}",
7
               "bookingDate
BookingDate

Booking date of the bank statement

":
"{Date}",
8
               "errorMessage
ErrorMessage

Shows a message of validation error for this document

Possible domain values can be found here

":
"{String}",
9
               "sortIndex
SortIndex

Sorting index of bank statement

":
"{Integer}",
10
               "isExcludedFromAutomaticReconciliation
IsExcludedFromAutomaticReconciliation

Indicates if the bank statement should be excluded from automatic reconciliation

":
"{Boolean}",
11
               "bankAccount": {
12
                    "bankAccountId
BankAccountId

Bank account identifier

":
"{Integer}",
13
                    "name
Name

Name of bank account

":
"{String}",
14
                    "accountNumber
AccountNumber

Account number used to identify the bank account

":
"{String}",
15
                    "currency
Currency

Currency used for the bank account

":
"{String}",
16
                    "bankAccountLink
BankAccountLink

Bank reference

":
"{String}"
17
               },
18
               "accountingPeriod": {
19
                    "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
20
                    "period
Period

Accounting period

":
"{Integer}",
21
                    "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
22
               },
23
               "createdBy": {
24
                    "userId
UserId

User identifier

":
"{Integer}",
25
                    "lastName
LastName

Last name of employee

":
"{String}",
26
                    "firstName
FirstName

First name of employee

":
"{String}",
27
                    "userLink
UserLink

User reference

":
"{String}"
28
               },
29
               "totals": {
30
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
31
                    "openingBalance
OpeningBalance

Opening balance of bank statement

":
"{Decimal}",
32
                    "closingBalance
ClosingBalance

Closing balance of bank statement

":
"{Decimal}",
33
                    "bankAmount
BankAmount

Total transaction amount

":
"{Decimal}",
34
                    "paymentAmount
PaymentAmount

Total payment amount

":
"{Decimal}",
35
                    "deviationAmount
DeviationAmount

Total deviation amount

":
"{Decimal}",
36
                    "notReconciledAmount
NotReconciledAmount

Amount of bank statement transactions which are not reconciled

":
"{Decimal}"
37
               },
38
               "ramBaseTotals
RamBaseTotals

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

":
{
39
                    "openingBalance
OpeningBalance

Opening balance of payments amount.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

":
"{Decimal}",
40
                    "closingBalance
ClosingBalance

Closing balance of payments amount.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

":
"{Decimal}",
41
                    "amount
Amount

Payments total.

This field is greyed out because it is an expandable field. You have to add $expand=BankStatement.RamBaseTotals in your request URI to get this field

":
"{Decimal}"
42
               },
43
               "bankStatementLink
BankStatementLink

Bank statement reference

":
"{String}"
44
          }
45
     ],
46
     "paging
Paging

Detailed paging information for this list.

":
{
47
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
48
          "position
Position

Position of the first element in the list

":
"{Integer}",
49
          "page
Page

Page index

":
"{Integer}",
50
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
51
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
52
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
53
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
54
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
55
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
56
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
57
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
58
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
59
     }
60
}

Possible error codes the response might return:

Error 101814 HTTP 404 Employee not found